﻿<!DOCTYPE html>
<html>
<head>
    <!--<base href="../" />-->
    <meta charset="UTF-8">
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <link rel="stylesheet" href="/static/css/angularStyle.css" />
    <link rel="stylesheet" href="/static/css/common/reset.css" />
    <link rel="stylesheet" href="/static/css/associate.css" />
    <link rel="stylesheet" href="/static/css/sweetalert.min.css" />
    <link rel="stylesheet" href="/static/js/simditor/styles/simditor.css" />
    <link rel="stylesheet" href="/static/js/simditor/styles/simditor-html.css" />
    <title>社团首页</title>
</head>
<body>
    <div class="associate">
        <div id="divHeader"></div>
        <section class="assoc-content container clearfix">
            <div class="assoc-c-left fl">
                <div id="divNavigation"></div>
            </div>
            <div class="assoc-c-right fr">
                <div ng-app="myApp" ng-cloak class="assoc-cr-information">

                    <div ng-controller="AssoCtrl">
                        <div ng-model="names">
                            <div ng-if="names.Status !== 'SecondStep' && names.Status !== 'ThirdStep' && names.Status !== 'FourStep'">
                                <a href="./reviseInfo.html" class="assoc-cri-resive" id="assoc-cri-resive">修改信息</a>
                            </div>
                            <div ng-if="names.Status === 'SecondStep' || names.Status === 'ThirdStep' ||names.Status === 'FourStep'">
                                <a href="/personal/register.html" class="assoc-cri-resive" id="assoc-cri-resive">完善资料</a>
                            </div>
                            <div class="assoc-cri-pic">
                                <div class="img">
                                    <img src="{{names.LogoPath}}" />
                                </div>
                                <div ng-if="names.Status !== 'SecondStep' && names.Status !== 'ThirdStep' && names.Status !== 'FourStep'">
                                    <a href="/my/reviseImg.html" class="colorRed underline textcenter disinblock" id="assc-changeImg">修改头像</a>
                                </div>
                            </div>
                            <h1 class="f14 mb20">社团信息</h1>
                            <h2>
                                <label>社团名称： </label>
                                <span>{{names.Name}}</span>
                            </h2>
                            <h2>
                                <label>社团口号： </label>
                                <span>{{names.Remark}}</span>
                            </h2>
                            <h2>
                                <label>社团负责人：</label>
                                <span>{{names.ChargeName}}</span>
                            </h2>
                            <h2>
                                <label>社团级别：</label>
                                <span>{{names.Nature}}</span>
                            </h2>
                            <h2>
                                <label>所属学校：</label>
                                <span>{{names.SchoolName}}</span>
                            </h2>
                            <h2>
                                <label>社团类型：</label>
                                <span>{{names.Type}}</span>
                            </h2>
                            <h2>
                                <label>社团规模：</label>
                                <span>{{names.Scale}}</span>
                            </h2>
                            <h2>
                                <label>部门数量：</label>
                                <span>{{names.DeptAmount}}</span>
                            </h2>
                            <h2>
                                <label>学校地址：</label>
                                <span>{{names.SchoolAddress}}</span>
                            </h2>
                        </div>
                    </div>
                </div>
            </div>
        </section>
    </div>
    <div id="divFooter"></div>

    <script type="text/javascript" src="/static/js/ref/jquery-2.1.1.min.js"></script>
    <script type="text/javascript" src="/static/js/self/common.js"></script>
    <script type="text/javascript" src="/static/js/ref/angular.min.js"></script>
    <script type="text/javascript" src="/static/js/ref/sweetalert.min.js"></script>
    <script>
        $("#divHeader").load("/wuc/header.html");
        $("#divFooter").load("/wuc/footer.html");
        $("#divNavigation").load("/wuc/navigation.html");

        function AfterCompleted(ctx) {
            if (ctx == null) {
                common.alertMessage("无数据.");
                return;
            }
        }
        common.CreateController({ name: 'AssoCtrl', url: '/api/student/GetAssociation', objType: 'dict' });
    </script>
</body>

</html>